correctly pick up the path to the extensions on 64bit systems. Fixes
bug #510038
* babl/Makefile.am: added -DLIBDIR
* babl/babl-extension.c: use libdir and not PREFIX "/lib" when
defining the default BABL_PATH.
svn path=/trunk/; revision=274
+2008-01-17 Øyvind Kolås <pippin@gimp.org>
+
+ Applied patch from Deji Akingunola <dakingun@gmail.com> to make babl
+ correctly pick up the path to the extensions on 64bit systems. Fixes
+ bug #510038
+
+ * babl/Makefile.am: added -DLIBDIR
+ * babl/babl-extension.c: use libdir and not PREFIX "/lib" when
+ defining the default BABL_PATH.
+
2008-01-10 Sven Neumann <sven@gimp.org>
* extensions/gimp-8bit.c: added extension to speed up code paths
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/babl/base
-AM_CPPFLAGS = -DPREFIX=\""$(prefix)"\"
+AM_CPPFLAGS = -DLIBDIR=\""$(libdir)"\"
lib_LTLIBRARIES= libbabl-@BABL_API_VERSION@.la
libbabl_@BABL_API_VERSION@_la_SOURCES= $(h_sources) $(c_sources)
#include "config.h"
#endif
-#define BABL_PATH PREFIX "/lib/" BABL_LIBRARY
+#define BABL_PATH LIBDIR "/" BABL_LIBRARY
#define BABL_INIT_HOOK init_hook ();
#define BABL_DESTROY_HOOK destroy_hook ();